/* 全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

header h1 {
    font-weight: 700;
    color: #2c3e50;
}

header p {
    font-weight: 300;
    color: #7f8c8d;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
}

/* 上传控制区域 */
.upload-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/* 自定义文件输入 */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#fileInput {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#fileName {
    font-size: 14px;
    color: #555;
    background-color: #ecf0f1;
    padding: 8px 12px;
    border-radius: 6px;
}


/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-primary-outline:hover {
    background-color: #3498db;
    color: white;
}

/* 图片画廊 */
#image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

#image-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    cursor: pointer;
}

#image-preview
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


#image-prevoew img
{
    max-width: 200px;
    border: 1px solid #ccc;
    padding: 5px;
}
